import request from './request'

// 获取所有下级区划
export const getRegionListByCode = (params: any) => {
    return request<any, true>({
        url: '/basic-information-manager-server/api/v2.0/client/region/queryByCode',
        method: 'get',
        params,
    })
}

// 获取某个网格下的全部网格
export const getAllGridsByCode = (params: any) => {
    return request<any, true>({
        url: '/aims-base-server/api/v1/grid/list',
        method: 'get',
        params,
    })
}
